package com.acme.bankapp.domain.bank;

public abstract class AbstractAccount implements Account {

	private int balance;
	
	public AbstractAccount(int balance) {
		this.balance = balance;
	}
	
	public int getBalance() {
		return this.balance;
	}
	
	protected void setBalance(int balance) {
		this.balance = balance;
	}

	public abstract boolean withdraw(int amount);
	public abstract void deposit(int amount);
	
}
